package com.jyx.chain.web.service;

import com.jyx.chain.web.Filter;
import com.jyx.chain.web.filterchain.FilterChain;
import com.jyx.chain.web.request.Request;
import com.jyx.chain.web.response.Response;

public class ServiceFilter implements Filter {

	@Override
	public void doFilter(Request req, Response res,FilterChain fc) {
		req.setRequestStr(req.getRequestStr().replace("敏感", ""));
		fc.doFilter(req, res,fc);
		res.setResponseStr(res.getResponseStr()+"=====ServiceFilter");
	}

}
